package com.zhsq.zlc.dao.customer;

import com.zhsq.zlc.entity.CustomerEntity;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
@Mapper
public interface CustomerMapper {


    int count(CustomerEntity entity);


    List<CustomerEntity> list(CustomerEntity entity);

    CustomerEntity getCustomerById(CustomerEntity entity);

    void edit(CustomerEntity entity);

    void add(CustomerEntity entity);

    void delete(int intID);
}
